package com.oncliedisk.administrator.ui;

import android.os.Bundle;
import android.view.View.OnClickListener;
import android.widget.AdapterView;

import com.oncliedisk.administrator.Base.BaseActivity;
import com.oncliedisk.administrator.DB.Dao;
import com.oncliedisk.administrator.content.FileConfig;


public class PhotoActivity extends BaseActivity implements OnClickListener, AdapterView.OnItemLongClickListener, AdapterView.OnItemClickListener {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.onCreate(savedInstanceState);
        setTitle("照片");
        initAdapter(Dao.getInstance(getActivity()).getAllFile("mimeType=? or mimeType=?", new String[]{FileConfig.TYPE_IMG,FileConfig.TYPE_PNG}));
        listView.setAdapter(adapter);
    }

}




